/**
 *
 *@author ZhouLan
 *@version 1.0.0
 */

import { UrlRouter } from '../entity/UrlRouter'

export let getRouter:UrlRouter[] = [
  {
    "key":"getGoodsImgNames",
    "value":"/getGoodsImgFileNames"
  },
  {
    "key":"getShareImgNames",
    "value":"/getShareImgFileNames"
  },
  {
    "key":"getIcon",
    "value":"/getIcon"
  },
  {
    "key":"getNickname",
    "value":"/user/getNickName"
  }
  ,
  {
    "key":"getGoodsId",
    "value":"/getGoodsId"
  }
  ,
  {
    "key":"getShareId",
    "value":"/getShareId"
  },
  {
    "key":"getShares",
    "value":"/getAllShare"
  },
  {
    "key":"getSharePic",
    "value":"/getSharePic"
  },
  {
    "key":"getGoodsPic",
    "value":"/getGoodsPic"
  },
  {
    "key":"getBusinessId",
    "value":"/getAccountByGoodsId"
  },
  {
    "key":"getDetails",
    "value":"/getDetailsByBusinessId"
  },
  {
    "key":"getShopName",
    "value":'/getShopNameByBusinessId'
  },
  {
    "key":"getOrdersByAccount",
    "value":"/getOrdersByAccount"
  },
  //商家端获取当前商家所有订单的接口
  {
    "key":"getOrdersByBusinessId",
    "value":"/getOrdersByBusinessId"
  },
  //商家修改商店名称
  {
    "key":"setShopName",
    "value":"/setShopNameByAccount"
  },
  {
    "key":"getFirstPic",
    "value":"/getFirstGoodsPic"
  },
  {
    "key": "getGoodsId",
    "value": "/getGoodsId"
  }
]
export let postRouter:UrlRouter[] = [
  {
    key:'addNewShare',
    value:'/addNewShare'
  },
  {
    key:'uploadSharePics',
    value:'/uploadSharePics'
  },
  {
    key:'addGoods',
    value:"/addGoods"
  },
  {
    key:'updateGoods',
    value:'/updateGoodsDetail'
  },
  {
    key:'uploadGoodsPics',
    value:'/uploadGoodsPics'
  },
  {
    key:'getOrders',
    value:'/getOrdersByAccount'
  },
  {
    "key":"updateOrderState",
    "value":"/updateOrderState"
  }
]